<template>
	<div>
		<!-- <h2>搜索</h2> -->
		<form action="/">
		  <van-search 
		  :fixed=true
		    v-model="value"
		    placeholder="请输入搜索关键词"
		    show-action
		    @search="onSearch"
		    @cancel="onCancel"
			
		  />
		</form>
	</div>
</template>

<script>
	export default{
		name:'Seek',
		data(){
			return{
				value:''
			}
		},
		methods:{
			onSearch(){
				console.log('1')
			},
			onCancel(){
				this.$router.go(-1)
			}
		}
	}
</script>

<style scoped="">
	.van-search--show-action{
		margin-top:-64px;
	}
</style>
